Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
eslint-config-godaddy
Advanced tools
Base ESLint config for consistent style in ES6 projects at GoDaddy.
Base configuration for non-React, ES6 JavaScript applications officially used at GoDaddy. There are many useful features:
eslint
.eslint
. Many rules will fix themselves!This styleguide is used by dozens of product teams at GoDaddy. Have a question or comment? Open an issue!
# Default with ES6
npm i eslint-config-godaddy --save-dev
There are two ways to use this styleguide depending on your own tooling preference: directly using pre-included binaries or running eslint
yourself with a custom .eslintrc
config.
These use exactly the configuration defined in this package (eslint-config-godaddy
) with auto-fix enabled automatically.
{
"scripts": {
"lint": "eslint-godaddy files/ you/ want-to/ lint/"
}
}
.eslintrc.js
and run eslint
yourselfmodule.exports = {
extends: 'godaddy'
rules: {
//
// Put any rules you wish to override here.
//
}
}
The --fix
option in eslint
is only available as a CLI option. Auto-fix will NOT be enabled unless you run eslint --fix
in your package.json
.
{
"scripts": {
"lint": "eslint --fix files/ you/ want-to/ lint/"
}
}
FAQs
Base ESLint config for consistent style in ES6 projects at GoDaddy.
The npm package eslint-config-godaddy receives a total of 2,353 weekly downloads. As such, eslint-config-godaddy popularity was classified as popular.
We found that eslint-config-godaddy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 14 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.